package org.argus.management.system.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author 刘文/Cliff Liu
 * @Date 2024/6/15
 */
@Data
@ApiModel("修改用户密码请求")
public class UpdateUserPasswordReq {

    @NotNull
    @ApiModelProperty("用户id")
    private Long id;

    @NotEmpty
    @ApiModelProperty("新密码")
    private String password;
}
